/*
 * Copyright (c) 2015. For Intelligent Group.
 */

package com.intelligent.ispc.common.web;

import com.intelligent.ispc.common.dto.AbstractValueObject;

/**
 * Created by Peter on 15/11/19.
 */
public class ProcessInfo extends AbstractValueObject {
    private String target;

    private long totalSize = 1;
    private long readSize = 0;
    private int itemNum = 0;
    private double rate = 0;
    private String log = "";
    private long currentRowNumber=0;
    private boolean lastUpdate = false;

    public long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(long totalSize) {
        this.totalSize = totalSize;
    }

    public long getReadSize() {
        return readSize;
    }

    public void setReadSize(long readSize) {
        this.readSize = readSize;
    }

    public int getItemNum() {
        return itemNum;
    }

    public void setItemNum(int itemNum) {
        this.itemNum = itemNum;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public long getCurrentRowNumber() {
        return currentRowNumber;
    }

    public void setCurrentRowNumber(long currentRowNumber) {
        this.currentRowNumber = currentRowNumber;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public boolean isLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(boolean lastUpdate) {
        this.lastUpdate = lastUpdate;
    }
}
